package com.newaim.service.Impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.newaim.entity.ProductRrpDO;
import com.newaim.mapper.ProductRrpMapper;
import com.newaim.service.ProductRrpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductRrpServiceImpl extends ServiceImpl<ProductRrpMapper, ProductRrpDO> implements ProductRrpService {


    @Autowired
    private ProductRrpMapper productRrpMapper;

    @Override
    public Page<ProductRrpDO> selectPage(int pageNum, int pageSize) {
        return null;
    }

    @Override
    public ProductRrpDO selectById(Long id) {
        return productRrpMapper.selectById(id);
    }

    @Override
    public ProductRrpDO selectBySku(String sku) {
        return productRrpMapper.selectBySku(sku);
    }

    @Override
    public void update(ProductRrpDO baseSkuReplace) {

    }

    @Override
    public void deleteById(int id) {

    }

}
